import request from '@/utils/request'
export function getMemberList(noticeId) {
	// console.log(noticeId)
	return request({
		url: '/centers/message/adminSysNotice/getMemberList/' + noticeId,
		method: 'get'
	})
}

export function getAllMemberList() {
	return request({
		url: '/centers/message/adminSysNotice/getAllMemberList',
		method: 'get'
	})
}
export function getAllEmailMemberList(params) {
	return request({
		url: '/center/emailNotNull',
		method: 'get',
		params: params
	})
}

export function addCenterUserSysNotice(noticeId,userIds) {
	return request({
		url: '/centers/message/adminSysNotice/add?userIds='+userIds+'&noticeId='+noticeId,
		method: 'get'
	})
}